package com.rongc.client.freight.business.waybill.request.api;


import com.android.volley.Response;
import com.rongc.client.core.network.api.MultipartRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;
import com.rongc.client.freight.base.request.result.NullResult;

import java.io.File;
import java.util.Map;


/*
*  上传回单
* */
public class WaybillHuidanApi extends MultipartRequest {

    public WaybillHuidanApi(Response.Listener<NullResult> listener, Response.ErrorListener errorListener,
                            String filePartName, File file, Map<String, String> params) {
        super(ApiUrl.getWaybillHuidanUrl(), listener, errorListener, filePartName ,file,params,NullResult.class);
    }

    public static class WaybillHuidanParams extends BaseParams {

        public WaybillHuidanParams(String id,String content) {
            put("id", id);
            put("content", content);
        }
    }
}
